 <DIV class="row" id="extended-port-info" style="margin-top: 20px;">
				<DIV class="col-md-12" id="content">
					<UL class="nav nav-tabs horizontal" role="tablist">
						<LI class="active" role="presentation"><A role="tab"
							aria-controls="tab1"
							onclick='analytics.track("Port Detail - Loaded Vessels in Port Tab",{"port name": "Dalian","port locode": "CNDLC","port id": "60250", "url":"https://www.fleetmon.com/ports/dalian_cndlc_10419/"});'
							href="#tab1"
							data-toggle="tab">港区</A></LI>
						<LI role="presentation"><A role="tab"
							aria-controls="tab2"
							onclick='analytics.track("Port Detail - Loaded Scheduled Arrivals Tab",{"port name": "Dalian","port locode": "CNDLC","port id": "60250", "url":"https://www.fleetmon.com/ports/dalian_cndlc_10419/"});'
							href="#tab2"
							data-toggle="tab">铁路</A></LI>
						<LI role="presentation"><A role="tab"
							aria-controls="tab3"
							onclick='analytics.track("Port Detail - Loaded Port Call History Tab",{"port name": "Dalian","port locode": "CNDLC","port id": "60250", "url":"https://www.fleetmon.com/ports/dalian_cndlc_10419/"});'
							href="https://www.fleetmon.com/ports/dalian_cndlc_10419/#tab3"
							data-toggle="tab">航道</A></LI>
						<LI role="presentation"><A role="tab"
							aria-controls="tab4"
							onclick='analytics.track("Port Detail - Loaded Companies in Port Tab",{"port name": "Dalian","port locode": "CNDLC","port id": "60250", "url":"https://www.fleetmon.com/ports/dalian_cndlc_10419/"});'
							href="https://www.fleetmon.com/ports/dalian_cndlc_10419/#tab4"
							data-toggle="tab">锚地</A></LI>
						<LI role="presentation"><A role="tab"
							aria-controls="tab5"
							onclick='analytics.track("Port Detail - Loaded Companies in Port Tab",{"port name": "Dalian","port locode": "CNDLC","port id": "60250", "url":"https://www.fleetmon.com/ports/dalian_cndlc_10419/"});'
							href="https://www.fleetmon.com/ports/dalian_cndlc_10419/#tab5"
							data-toggle="tab">公司</A></LI>
						<LI role="presentation"><A role="tab"
							aria-controls="tab6"
							onclick='analytics.track("Port Detail - Loaded Companies in Port Tab",{"port name": "Dalian","port locode": "CNDLC","port id": "60250", "url":"https://www.fleetmon.com/ports/dalian_cndlc_10419/"});'
							href="https://www.fleetmon.com/ports/dalian_cndlc_10419/#tab6"
							data-toggle="tab">吞吐量</A></LI>
						<LI role="presentation"><A role="tab"
							aria-controls="tab7"
							onclick='analytics.track("Port Detail - Loaded Companies in Port Tab",{"port name": "Dalian","port locode": "CNDLC","port id": "60250", "url":"https://www.fleetmon.com/ports/dalian_cndlc_10419/"});'
							href="https://www.fleetmon.com/ports/dalian_cndlc_10419/#tab7"
							data-toggle="tab">泊位</A></LI>
						<LI role="presentation"><A role="tab"
							aria-controls="tab8"
							onclick='analytics.track("Port Detail - Loaded Companies in Port Tab",{"port name": "Dalian","port locode": "CNDLC","port id": "60250", "url":"https://www.fleetmon.com/ports/dalian_cndlc_10419/"});'
							href="https://www.fleetmon.com/ports/dalian_cndlc_10419/#tab8"
							data-toggle="tab">管道</A></LI>
					</UL>
					<DIV class="tab-content">
					<!-- 第1个Tab -->
						<DIV class="tab-pane active" id="tab1" role="tabpanel">
							<DIV class="ActiveTab-wrapper" id="portdetailsinport_DynTable">
								<DIV class="row">
									<DIV class="col-md-12">
										<DIV class="dataTables_wrapper&#10;"
											id="datatable_vessels_in_port_table">
											<DIV class="table-responsive">
												<TABLE class="table dataTable" id="tab1_table" cellspacing="0" width="100%">
													<THEAD>
														<TR>
															<TH>港区代码</TH>
															<TH>港区名称</TH>
															<TH>总面积</TH>
															<TH>陆地面积</TH>
															<TH>水域面积</TH>
															<TH>泊位数量</TH>
															<TH>已使用岸线长度</TH>
															<TH>统计时间</TH>
														</TR>
													</THEAD>
												<!-- 	显示大连港的所有港口数据 -->
													<TBODY>
													<tr th:each="table:${list1}" class="vesselstatus_unknown live_1" id="${table.id}">
												
																<TD th:text="${table.p_a_code}"></TD>
																<TD th:text="${table.p_a_name}"> </TD>
																<TD th:text="${table.pi.totalArea}"></TD>
																<TD th:text="${table.pi.landArea}"></TD>
																<TD th:text="${table.pi.waterArea}"></TD>
																<TD><SPAN
																	class="tooltip-bs positionreceived_icon None" th:text="${table.pi.numberOfBerths}"></SPAN>
																</TD>
																<TD  th:text="${table.pi.lengthNCL}"></TD>
																<TD  ><span th:text="${table.pi.r_time}"></span><span>年</span></TD>
													</tr>
													</TBODY>
												</TABLE>
											</DIV>
											<!-- <DIV class="dataTables_footer">
												<DIV class="row">
													<DIV class="col-md-4">
														<DIV class="dataTables_footerLeft">
															<DIV class="dataTables_info"></DIV>
														</DIV>
													</DIV>
													<DIV class="col-md-2">
														<DIV
															style="text-align: center; padding-top: 0px; margin-bottom: 5px;">
															<SPAN class="tooltip-bs-html btn btn-default disabled-fm"
																style="margin: 0px auto; float: none;"
																data-toggle="modal" data-target="#loginRegisterModal"><I
																class="fa fa-star"></I> Save to My Fleet </SPAN>
														</DIV>
													</DIV>
													<DIV class="col-md-2">
														<DIV
															style="text-align: center; padding-top: 0px; margin-bottom: 5px;">
															<SPAN class="tooltip-bs-html btn btn-default disabled-fm"
																id="vessels_in_port_table_download_excel"
																style="margin: 0px auto; float: none;"
																data-toggle="modal" data-target="#loginRegisterModal"><I
																class="glyphicon glyphicon-download-alt"></I> Download
																124 rows </SPAN>
														</DIV>
													</DIV>
													<DIV class="col-md-4">
														<DIV class="dataTables_footerRight pull-right">
															<DIV class="dataTables_length"></DIV>
															<DIV class="dataTables_paginate"></DIV>
														</DIV>
													</DIV>
												</DIV>
											</DIV> -->
										</DIV>
									</DIV>
								</DIV>
							</DIV>
						</DIV>
									<!-- 第2个Tab -->
						<DIV class="tab-pane" id="tab2" role="tabpanel">
							<DIV class="ActiveTab-wrapper" id="portdetailsinport_DynTable">
								<DIV class="row">
									<DIV class="col-md-12">
										<DIV class="dataTables_wrapper&#10;"
											id="datatable_vessels_in_port_table">
											<DIV class="table-responsive">
												<TABLE class="table dataTable" id="tab2_table">
													<THEAD>
														<TR>
															<TH>港区名称</TH>
															<TH>单位名称</TH>
															<TH>铁路总长度</TH>
															<TH>装卸线长度</TH>
															<TH>铁路装卸线通过能力</TH>
															<TH>统计时间</TH>
														</TR>
													</THEAD>
													<TBODY>
														<tr th:each="table:${list2}"
															class="vesselstatus_unknown live_1" id="${table.id}">
															<TD th:text="${table.pi.p_a_name}"></TD>
															<TD th:text="${table.company.comp_name}"></TD>
															<TD th:text="${table.railway_L}"></TD>
															<TD th:text="${table.load_unload_L}"></TD>
															<TD th:text="${table.railway_DATC}"></TD>
															<TD th:text="${table.r_time}"></TD>
														</tr>
													</TBODY>
												</TABLE>
											</DIV>
										</DIV>
									</DIV>
								</DIV>
							</DIV>
			</DIV>
			<!-- 第3个Tab -->
			<DIV class="tab-pane " id="tab3" role="tabpanel">
				<DIV class="ActiveTab-wrapper" id="portdetailsinport_DynTable">
					<DIV class="row">
						<DIV class="col-md-12">
							<DIV class="dataTables_wrapper&#10;">
								<DIV class="table-responsive">
									<TABLE class="table dataTable" id="tab3_table">
										<THEAD>
											<TR>
												<!-- <TH title="" class="vesselflag">ID</TH> -->
												<TH>航道名称</TH>
												<TH>航道起点名称</TH>
												<TH>航道讫点名称</TH>
												<TH>航道长度</TH>
												<TH>乘潮通航吨级</TH>
												<TH>不乘潮通航吨级</TH>
												<TH>是否为双选航道</TH>
												<TH>航道水深</TH>
												<TH>航道宽度</TH>
												<TH>航道乘潮历时</TH>
												<TH>航道乘潮水位</TH>
												<TH>航道底质</TH>
												<TH>服务港区代码</TH>
												<TH>统计时间</TH>
											</TR>
										</THEAD>
										<!---->

										<TBODY>
											<tr th:each="table:${list3}"
												class="vesselstatus_unknown live_1" id="${table.id}">											
												
													<!-- <TD th:text="${table.id}"></TD> -->
													<TD th:text="${table.chan_name}"></TD>
													<TD th:text="${table.chan_S_P}"></TD>
													<TD th:text="${table.chan_F_P}"></TD>
													<TD th:text="${table.chan_L}"></TD>
													<TD th:text="${table.tons_by_tide}"></TD>
													<TD th:text="${table.tons_no_tide}"></TD>
													<TD th:text="${table.chan_1_2}"></TD>
													<TD th:text="${table.chan_dep}"></TD>
													<TD th:text="${table.chan_wid}"></TD>
													<TD th:text="${table.tide_time}"></TD>
													<TD th:text="${table.tide_level}"></TD>
													<TD th:text="${table.chan_sedi}"></TD>
													<TD th:text="${table.p_s_names}"></TD>
													 <TD th:text="${table.r_time}"></TD> 
													<!-- <TD th:text="${stat.index}"></TD> -->
											</tr>
										</TBODY>
									</TABLE>
								</DIV>
							</DIV>
						</DIV>
					</DIV>
				</DIV>
			</DIV>


			<!-- 第4个Tab -->
			<DIV class="tab-pane " id="tab4" role="tabpanel">
				<DIV class="ActiveTab-wrapper" id="portdetailsinport_DynTable">
					<DIV class="row">
						<DIV class="col-md-12">
							<DIV class="dataTables_wrapper&#10;">
								<DIV class="table-responsive">
									<TABLE class="table dataTable" id="tab4_table">
										<THEAD>
											<TR>
												<TH>ID</TH>
												<TH>锚地名称</TH>
												<TH>主要用途</TH>
												<TH>锚地水深</TH>
												<TH>锚地面积</TH>
												<TH>系船浮筒个数</TH>
												<TH>锚泊吨级</TH>
												<TH>锚泊艘级</TH>
												<TH>锚地底质</TH>
												<TH>服务的港区名称</TH>
												<TH>统计时间</TH>
											</TR>
										</THEAD>
										<TBODY>
											<tr th:each="table:${list4}"
												class="vesselstatus_unknown live_1" id="${table.id}">
												<TD th:text="${table.id}"></TD>
												<TD th:text="${table.anc_name}"></TD>
												<TD th:text="${table.anc_app}"></TD>
												<TD th:text="${table.anc_dep}"></TD>
												<TD th:text="${table.anc_a}"></TD>
												<TD th:text="${table.mooring_buoy_N}"></TD>
												<TD th:text="${table.anc_ton}"></TD>
												<TD th:text="${table.anc_ber_N}"></TD>
												<TD th:text="${table.anc_sedi}"></TD>
												<TD th:text="${table.p_s_names}"></TD>
												<TD><span th:text="${table.r_time}"></span><span>年</span></TD>
											</tr>
										</TBODY>
									</TABLE>
								</DIV>
							</DIV>
						</DIV>
					</DIV>
				</DIV>
			</DIV>


			<!-- 第5个Tab -->
			<DIV class="tab-pane " id="tab5" role="tabpanel">
				<DIV class="ActiveTab-wrapper" id="portdetailsinport_DynTable">
					<DIV class="row">
						<DIV class="col-md-12">
							<DIV class="dataTables_wrapper&#10;">
								<DIV class="table-responsive">
									<TABLE class="table dataTable" id="tab5_table">
										<THEAD>
											<TR>
												<TH>ID</TH>
												<TH>单位名称</TH>
												<TH>单位ID</TH>
												<TH>类型</TH>
												<TH>位置</TH>
												<TH>备用位置</TH>
											</TR>
										</THEAD>
										<TBODY>
											<tr th:each="table:${list5}"
												class="vesselstatus_unknown live_1" id="${table.id}">
												<TD th:text="${table.id}"></TD>
												<TD th:text="${table.comp_name}"></TD>
												<TD th:text="${table.comp_ID}"></TD>
												<TD th:text="${table.category}"></TD>
												<TD th:text="${table.locode}"></TD>
												<TD th:text="${table.alter_locode}"></TD>
											</tr>
										</TBODY>
									</TABLE>
								</DIV>
							</DIV>
						</DIV>
					</DIV>
				</DIV>
			</DIV>

			<!-- 第6个Tab -->
			<DIV class="tab-pane " id="tab6" role="tabpanel">
			    <div class="ActiveTab-wrapper" id="tab6_chart">
					<div id="mychart" style="height: 500px"></div>
					<!-- <script src="js/echarts.simple.min.js"></script> -->
					 <script type="text/javascript" src="/plugins/echarts/echarts.min.js"></script>
					<SCRIPT  th:inline="javascript">
			    /* <![CDATA[ */
			    	var dom = document.getElementById("mychart");
			    	var myChart = echarts.init(dom);
			    	option = null;
			    	var dataMap ={};		
			    	var data= [[${list6}]];									    		
			    	 var years=[];
			    	for(var i = 0;  i<data.length; i++){
			            	year=parseInt(data[i].date/100);	//获取当前年份信息
			            	if(jQuery.inArray(year,years)==-1)
			            		years.push(year);
			    	}
			    		
		    		var map1={},map2 = {};
		    		 for(var j=0;j<years.length;j++)
	    			    {
		    			 var array1=[],array2=[];
		    			 for(var i=0;i<data.length;i++)
			    			{
		    				 if(years[j]==parseInt(data[i].date/100))
	    			    		{
	    			    		 array1.push(data[i].cargo_thp);
				             	 array2.push(data[i].conr_thp);							    
	    			    		}
	    			    	}
		             	 map1[years[j]]=array1;
		    			 map2[years[j]]=array2;		    			 
	    			    }
			    	   
		    		dataMap.cargo_thp=map1; 
		    		dataMap.conr_thp=map2;  
		    		console.log(JSON.stringify(dataMap));
		    		var odata=getOptionsData();
			    var colors = ['#CC3333', '#4B5370'];
			    	option = {
			    	    baseOption: {
			    	        timeline: {
			    	            // y: 0,
			    	            axisType: 'category',
			    	            // realtime: false,
			    	            // loop: false,
			    	            autoPlay: false,
			    	            // currentIndex: 2,
			    	            playInterval: 1000,
			    	            // controlStyle: {
			    	            //     position: 'left'
			    	            // },
			    	            data:years,
			    	            label: {
			    	                formatter : function(s) {
			    	                    return s+"年";
			    	                }
			    	            }
			    	        },
			    	        title: {
			    	            subtext: '测试数据'
			    	        },
			    	        tooltip: {
			    	        },
			    	        legend: {
			    	            x: 'right',
			    	            data: ['货物吞吐量', '集装箱吞吐量']
			    	        },
			    	        calculable : true,
			    	        grid: {
			    	            top: 80,
			    	            bottom: 100,
			    	            tooltip: {
			    	                trigger: 'axis',
			    	                axisPointer: {
			    	                    type: 'shadow',
			    	                    label: {
			    	                        show: true,
			    	                        formatter: function (params) {
			    	                            return params.value.replace('\n', '');
			    	                        }
			    	                    }
			    	                }
			    	            }
			    	        },
			    	        xAxis: [
			    	            {
			    	                'type':'category',
			    	                'axisLabel':{'interval':0},
			    	                'data':[
			    	                    '01','02','03','04','05','06','07','08','09','10','11','12',
			    	                ],
			    	                splitLine: {show: false}
			    	            }
			    	        ],
			    	        yAxis: [
			    	            {
			    	                type: 'value',
			    	                name: '货物吞吐量（万吨）',
		    	                	  axisLine: {
		    	                          lineStyle: {
		    	                              color: colors[0]
		    	                          }
		    	                      },
			    	            },
			    	            {
			    	            	 type: 'value',
				    	             name: '集装箱吞吐量（万吨）',
				    	             position:'right',
				    	             min:0,
				    	             max:150,
				    	             axisLine: {
				    	                 lineStyle: {
				    	                     color: colors[1]
				    	                 }
				    	             },
				    	             
			    	            }
			    	        ],
			    	        series: [		    	
			    	            {name: '货物吞吐量', type: 'bar'},
			    	            {name: '集装箱吞吐量', type: 'bar'},
			    	           /*  {
			    	                name: 'GDP占比',
			    	                type: 'pie',
			    	                center: ['75%', '35%'],
			    	                radius: '28%',
			    	                z: 100
			    	            } */
			    	        ] 
			    	    },
			    	    options: odata
			    	};
			    	
			    	function getOptionsData()
			    	{
			    		var data=[];
			    		for(var i=0;i<years.length;i++){
			    			var map={},temp={};
			    			temp["text"]=years[i]+"年大连港货物/集装箱吞吐量";
			    			map["title"]=temp;
			    			var array=[];
			    			var thp1 = {"name":"货物吞吐量", "type":"bar","yAxisIndex":0,"data":dataMap.cargo_thp[years[i]]};
			    			var thp2 = {"name":"集装箱吞吐量", "type":"bar","yAxisIndex":1,"data":dataMap.conr_thp[years[i]]};
			    			array.push(thp1);
			    			array.push(thp2);
			    			map["series"]=array;
				    		data.push(map);
			    		}
			    		return data;			    		
			    	}
			    	if (option && typeof option === "object") {
			    	    myChart.setOption(option, true);
			    	}
			    /* ]]> */	
			    </SCRIPT>
			    </div>
				<DIV class="ActiveTab-wrapper" id="tab6_table">
					<DIV class="row">
						<DIV class="col-md-12">
							<DIV class="dataTables_wrapper&#10;">
								<DIV class="jyTable">
									<DIV class="clearfix">
										<UL class="title title1 left">
											<LI class='cur' id="index1" onClick="showList(1)">大连港吞吐量</LI>
											<LI id="index2" onClick="showList(2)">各单位吞吐量</LI>
											<LI id="index3" onClick="showList(3)">各年份吞吐量</LI>
										</UL>
									</DIV>
									<DIV class='zong'>
										<DIV class="list">
										<!-- 第1个子Tab -->
										<DIV class="tabCon" id="list1">
											<div class="form-group">
												<label>统计年份</label>
												 <select class="form-control" id="year_id1" onchange="showDlpYear()">
													<option value="0">---请选择---</option>
													<div th:each="thp:${list62}">
														<option th:value="${thp.date}" th:selected="${year_id1==thp.date}">
														<span th:text="${thp.date}"></span></option>
													</div>
												</select>
										</div>
											<TABLE class="table dataTable" id="tab61_table">
										<THEAD>
											<TR>
												<TH>统计日期</TH>
												<TH>货物吞吐量(万吨)</TH>
												<TH>外贸货物吞吐量(万吨)</TH>
												<TH>内贸货物吞吐量(万吨)</TH>
												<TH>集装箱吞吐量(万TEU)</TH>
												<TH>外贸集装箱吞吐量(万TEU)</TH>
												<TH>内贸集装箱吞吐量(万TEU)</TH>
												<TH>煤炭(万吨)</TH>
												<TH>原油(万吨)</TH>
												<TH>成品油(万吨)</TH>
												<TH>铁矿石(万吨)</TH>
												<TH>钢铁(万吨)</TH>
												<TH>粮食(万吨)</TH>
												<TH>机械装备(万吨)</TH>
												<TH>化工品(万吨)</TH>
												<TH>集装箱（重量）(万吨)</TH>
												<TH>滚装重量(万吨)</TH>
												<TH>旅客吞吐量(万人)</TH>
											</TR>
										</THEAD>
										<TBODY id="tbody61">
											<tr th:each="table,stat:${list61}"
												class="vesselstatus_unknown live_1" id="${table.id}">
												<DIV th:if="${stat.index!=list61.size()-1}">
													<TD th:text="${table.date}" ></TD>
													<TD th:text="${table.cargo_thp}"></TD>
													<TD th:text="${table.f_t_thp}"></TD>
													<TD th:text="${table.d_t_thp}"></TD>
													<TD th:text="${table.conr_thp}"></TD>
													<TD th:text="${table.f_t_conr}"></TD>
													<TD th:text="${table.d_t_conr}"></TD>
													<TD th:text="${table.coal}"></TD>
													<TD th:text="${table.crude}"></TD>
													<TD th:text="${table.p_oil}"></TD>
													<TD th:text="${table.ironstone}"></TD>
													<TD th:text="${table.steel}"></TD>
													<TD th:text="${table.grain}"></TD>
													<TD th:text="${table.machineryE}"></TD>
													<TD th:text="${table.chemicals}"></TD>
													<TD th:text="${table.conr_weight}"></TD>
													<TD th:text="${table.ro_thp}"></TD>
													<TD th:text="${table.pger_thp}"></TD>
												</DIV>
												<DIV th:if="${stat.index==list61.size()-1}" >
													<TD style='font-weight:bold;color:red'>合计</TD>
													<!-- th:text="${#numbers.formatDecimal(price, 0, 2)}" -->
													<TD th:text="${#numbers.formatDecimal(table.cargo_thp, 0, 1)}" style="font-weight:bold;color:red"></TD>
													<TD th:text="${#numbers.formatDecimal(table.f_t_thp, 0, 1)}" style="font-weight:bold;color:red"></TD>
													<TD th:text="${#numbers.formatDecimal(table.d_t_thp, 0, 1)}" style="font-weight:bold;color:red"></TD>
													<TD th:text="${#numbers.formatDecimal(table.conr_thp, 0, 1)}" style="font-weight:bold;color:red"></TD>
													<TD th:text="${#numbers.formatDecimal(table.f_t_conr, 0, 1)}" style="font-weight:bold;color:red"></TD>
													<TD th:text="${#numbers.formatDecimal(table.d_t_conr, 0, 1)}" style="font-weight:bold;color:red"></TD>
													<TD th:text="${#numbers.formatDecimal(table.coal, 0, 1)}" style="font-weight:bold;color:red"></TD>
													<TD th:text="${#numbers.formatDecimal(table.crude, 0, 1)}" style="font-weight:bold;color:red"></TD>
													<TD th:text="${#numbers.formatDecimal(table.p_oil, 0, 1)}" style="font-weight:bold;color:red"></TD>
													<TD th:text="${#numbers.formatDecimal(table.ironstone, 0, 1)}" style="font-weight:bold;color:red"></TD>
													<TD th:text="${#numbers.formatDecimal(table.steel, 0, 1)}" style="font-weight:bold;color:red"></TD>
													<TD th:text="${#numbers.formatDecimal(table.grain, 0, 1)}" style="font-weight:bold;color:red"></TD>
													<TD th:text="${#numbers.formatDecimal(table.machineryE, 0, 1)}" style="font-weight:bold;color:red"></TD>
													<TD th:text="${#numbers.formatDecimal(table.chemicals, 0, 1)}" style="font-weight:bold;color:red"></TD>
													<TD th:text="${#numbers.formatDecimal(table.conr_weight, 0, 1)}" style="font-weight:bold;color:red"></TD>
													<TD th:text="${#numbers.formatDecimal(table.ro_thp, 0, 1)}" style="font-weight:bold;color:red"></TD>
													<TD th:text="${#numbers.formatDecimal(table.pger_thp, 0, 1)}" style="font-weight:bold;color:red"></TD>
						
												</DIV>
											</tr>
										</TBODY>
									</TABLE>
									</DIV>
						        	<!-- 第2个子Tab -->
									<DIV class="tabCon" id="list2">
									<form class="form-horizontal">
										<div class="form-group">
											<div class="col-md-5 col-sm-4 col-xs-3">
												<select class="form-control" id="comp_id" onchange="showThpByCompAndYear()">
												    <option value="0">---请选择单位名称---</option>
													<div th:each="comp:${list5}">
														<option th:value="${comp.comp_ID}"
															th:selected="${comp_id==comp.comp_ID}"><span
																th:text="${comp.comp_name}"></span></option>
													</div>
												</select>
											</div>
										<div class="col-md-5 col-sm-4 col-xs-3">			
												<select class="form-control" id="year_id2" onchange="showThpByCompAndYear()">
													<option value="0">---请选择年份---</option>
													<div th:each="thp:${list64}">
														<option th:value="${thp.date}"
															th:selected="${year_id==thp.date}"><span
																th:text="${thp.date}"></span></option>
													</div>
												</select>
										</div>
									</div> 
								</form>
										<div>
											<TABLE class="table" id="tab62_table">
												<THEAD>
													<TR>
														<TH>统计日期</TH>
														<TH>吞吐量(万吨)</TH>
													</TR>
												</THEAD>
												<TBODY id="tbody62">
												</TBODY>
											</TABLE>
										</div>


									</DIV>
									
									
									<!-- 第3个子Tab -->
									<DIV class="tabCon" id="list3">
										<div class="form-group">
											<label>统计年份</label> <select class="form-control"
												id="year_id" onchange="showYear()">
												<option value="0">---请选择年份---</option>
												<div th:each="thp:${list64}">
													<option th:value="${thp.date}"
														th:selected="${year_id==thp.date}"><span
															th:text="${thp.date}"></span></option>
												</div>
											</select>
										</div>
										<div>
											<TABLE class="table dataTable" id="tab64_table">
												<THEAD>
													<TR>
														<TH>统计年份</TH>
														<TH>单位名称</TH>
														<TH>吞吐量</TH>
													</TR>
												</THEAD>
												<TBODY id="tbody64">
												</TBODY>
											</TABLE>
										</div>
									</DIV>

								</DIV>
									</DIV>
								</DIV>
							</DIV>
						</DIV>
					</DIV>
				</DIV>
				<SCRIPT  th:inline="javascript">
				function showThpByCompAndYear()
				{
					 var comp_id=$("#comp_id").find("option:selected").val();  //获取单位id
					 var year=$("#year_id2").find("option:selected").val();  //获取年份
					 if(comp_id=='0')
						 {
						 alert("请选择单位");
						 return;
						 }
						
					 $.ajax({
				            url:"getThpByCompanyAndYear.json",
				            type: "POST",
				            data:{"comp_id":comp_id,"year":year},
				            success: function(data) { 
				            	 $('#tbody62').empty();
				               /* <![CDATA[ */
							     for(var i=0;i<data.list62.length;i++)
								{
							    	var tds="";								
							    	if(i==data.list62.length-1){
							    		tds+="<TD style='font-weight:bold;color:red'>合计</TD>";
										tds+="<TD style='font-weight:bold;color:red'>"+data.list62[i].cargo_thp+"</TD>";
									}else{
										tds+="<TD>"+data.list62[i].date+"</TD>";
										tds+="<TD>"+data.list62[i].cargo_thp+"</TD>";
									}									
							    	  $('#tbody62').append("<TR>"+tds+"</TR>");	
								}
							 /* ]]> */
				             }
				         }); 
				}
				
				function showDlpYear()
				{
					  var name=$("#year_id1").find("option:selected").val();  //获取value值
					  $.ajax({
				            url:"getDlpThpByYear.json",
				            type: "POST",
				            data:{"year":name},
				            success: function(data) { 
				            	 $('#tbody61').empty();
				               console.log(data);
				               /* <![CDATA[ */
							     for(var i=0;i<data.list61.length;i++)
								{
									var tds="";
									if(i==data.list61.length-1){
										tds+="<TD style='font-weight:bold;color:red'>合计</TD>";
										tds+="<TD style='font-weight:bold;color:red'>"+data.list61[i].cargo_thp+"</TD>"; 
										tds+="<TD style='font-weight:bold;color:red'>"+data.list61[i].f_t_thp+"</TD>";
										tds+="<TD style='font-weight:bold;color:red'>"+data.list61[i].d_t_thp+"</TD>";
										tds+="<TD style='font-weight:bold;color:red'>"+data.list61[i].conr_thp+"</TD>";
										tds+="<TD style='font-weight:bold;color:red'>"+data.list61[i].f_t_conr+"</TD>";
										tds+="<TD style='font-weight:bold;color:red'>"+data.list61[i].d_t_conr+"</TD>";
										tds+="<TD style='font-weight:bold;color:red'>"+data.list61[i].coal+"</TD>";
										tds+="<TD style='font-weight:bold;color:red'>"+data.list61[i].crude+"</TD>";
										tds+="<TD style='font-weight:bold;color:red'>"+data.list61[i].p_oil+"</TD>";
										tds+="<TD style='font-weight:bold;color:red'>"+data.list61[i].ironstone+"</TD>";
										tds+="<TD style='font-weight:bold;color:red'>"+data.list61[i].steel+"</TD>";
										tds+="<TD style='font-weight:bold;color:red'>"+data.list61[i].grain+"</TD>";
										tds+="<TD style='font-weight:bold;color:red'>"+data.list61[i].machineryE+"</TD>";
										tds+="<TD style='font-weight:bold;color:red'>"+data.list61[i].chemicals+"</TD>";
										tds+="<TD style='font-weight:bold;color:red'>"+data.list61[i].conr_weight+"</TD>";
										tds+="<TD style='font-weight:bold;color:red'>"+data.list61[i].ro_thp+"</TD>";
										tds+="<TD style='font-weight:bold;color:red'>"+data.list61[i].pger_thp+"</TD>";
									}
									else
										{
										tds+="<TD>"+data.list61[i].date+"</TD>";		
										tds+="<TD>"+data.list61[i].cargo_thp+"</TD>"; 
										tds+="<TD>"+data.list61[i].f_t_thp+"</TD>";
										tds+="<TD>"+data.list61[i].d_t_thp+"</TD>";
										tds+="<TD>"+data.list61[i].conr_thp+"</TD>";
										tds+="<TD>"+data.list61[i].f_t_conr+"</TD>";
										tds+="<TD>"+data.list61[i].d_t_conr+"</TD>";
										tds+="<TD>"+data.list61[i].coal+"</TD>";
										tds+="<TD>"+data.list61[i].crude+"</TD>";
										tds+="<TD>"+data.list61[i].p_oil+"</TD>";
										tds+="<TD>"+data.list61[i].ironstone+"</TD>";
										tds+="<TD>"+data.list61[i].steel+"</TD>";
										tds+="<TD>"+data.list61[i].grain+"</TD>";
										tds+="<TD>"+data.list61[i].machineryE+"</TD>";
										tds+="<TD>"+data.list61[i].chemicals+"</TD>";
										tds+="<TD>"+data.list61[i].conr_weight+"</TD>";
										tds+="<TD>"+data.list61[i].ro_thp+"</TD>";
										tds+="<TD>"+data.list61[i].pger_thp+"</TD>";
										}
										
							    	  $('#tbody61').append("<TR>"+tds+"</TR>");	
								}
							 /* ]]> */
				             }
				         }); 
				}
				
				function showYear()
				{
					  var name=$("#year_id").find("option:selected").val();  //获取value值
					  $.ajax({
				            url:"getCompThpByYear.json",
				            type: "POST",
				            data:{"year":name},
				            success: function(data) { 
				            	 $('#tbody64').empty();
				               /* <![CDATA[ */
							     for(var i=0;i<data.list64.length;i++)
								{
									var tds="<TD>"+data.list64[i].date+"</TD>";
									tds+="<TD>"+data.list64[i].comp_name+"</TD>";
									tds+="<TD>"+data.list64[i].cargo_thp+"</TD>";
							    	  $('#tbody64').append("<TR>"+tds+"</TR>");	
								}
							 /* ]]> */
				             }
				         }); 
				}
				
				function showList(index)
				{
					 $("#index"+index).addClass("cur").siblings().removeClass("cur");
					 $("#index"+index).find("div.list").animate({marginLeft:-1000*index},"slow");
					 /* <![CDATA[ */
				     for(var i=1;i<=3;i++)
					{
					 $("#list"+i).hide();
					  if(index==i)
						  {
						  $("#list"+i).show();
						  }
								
					}
				 /* ]]> */
				}
				</SCRIPT>				
			</DIV>

				<!-- 第7个Tab -->
				<DIV class="tab-pane " id="tab7" role="tabpanel">
					<DIV class="ActiveTab-wrapper" id="portdetailsinport_DynTable">
						<DIV class="row">
							<DIV class="col-md-12">
								<DIV class="dataTables_wrapper&#10;">
									<DIV class="table-responsive">
										<TABLE class="table dataTable" id="tab7_table" cellspacing="0" width="100%">
											<THEAD>
												<TR>
													<TH>ID</TH>
													<TH>港区名称</TH>
													<TH>泊位名称</TH>
													<TH>经营单位</TH>
													<TH>泊位类型</TH>
													<TH>主要用途</TH>
													<TH>设计水深</TH>
													<TH>维护水深</TH>
													<TH>泊位长度</TH>
													<TH>设计停靠吨级</TH>
													<TH>散装、件杂设计年通过能力</TH>
													<TH>集装箱设计年通过能力</TH>
													<TH>滚装设计年通过能力</TH>
													<TH>统计时间</TH>
												</TR>
											</THEAD>
											<TBODY>
												<div th:each="table:${list7}">
													<tr th:each="bi:${table.bis}">
														<td th:text="${bi.id}"></td>
														<td th:text="${table.p_a_name}"></td>
														<td th:text="${bi.berth_name}"></td>
														<td th:text="${bi.company.comp_name}"></td>
														<td th:text="${bi.berth_type}"></td>
														<td th:text="${bi.cargo_type}"></td>
														<td th:text="${bi.design_dep}"></td>
														<td th:text="${bi.maintain_dep}"></td>
														<td th:text="${bi.berth_L}"></td>
														<td th:text="${bi.design_ber_ton}"></td>
														<td th:text="${bi.bulk_genral_DATC}"></td>
														<td th:text="${bi.conr_DATC}"></td>
														<td th:text="${bi.pger_DATC}"></td>
														<td th:text="${bi.r_time}"></td>
													</tr>
												</div>
											</TBODY>
										</TABLE>
									</DIV>
								</DIV>
							</DIV>
						</DIV>
					</DIV>
				</DIV>


				<!-- 第8个Tab -->
				<DIV class="tab-pane " id="tab8" role="tabpanel">
					<DIV class="ActiveTab-wrapper" id="portdetailsinport_DynTable">
						<DIV class="row">
							<DIV class="col-md-12">
								<DIV class="dataTables_wrapper&#10;">
									<DIV class="table-responsive">
										<TABLE class="table dataTable" id="tab8_table" cellspacing="0" width="100%">
											<THEAD>
												<TR>
													<TH>港区名称</TH>
													<TH>单位名称</TH>
													<TH>管道总长度</TH>
													<TH>总通过能力</TH>
													<TH>原油管道长度</TH>
													<TH>原油管道通过能力</TH>
													<TH>成品油管道长度</TH>
													<TH>成品油管道通过能力</TH>
													<TH>液化天然气管道长度</TH>
													<TH>液化天然气管道通过能力</TH>
													<TH>液化石油气管道长度</TH>
													<TH>液化石油气管道通过能力</TH>
													<TH>化工管道</TH>
													<TH>化工管道通过能力</TH>
													<TH>其他管道度</TH>
													<TH>其他管道通过能力</TH>
													<TH>统计时间</TH>
												</TR>
											</THEAD>
											<TBODY>
												<tr th:each="table:${list8}"
													class="vesselstatus_unknown live_1">
													<td th:text="${table.pi.p_a_name}"></td>
													<td th:text="${table.company.comp_name}"></td>
													<td th:text="${table.pipe_L}"></td>
													<td th:text="${table.pipe_DATC}"></td>
													<td th:text="${table.crude_pipe_L}"></td>
													<td th:text="${table.crude_pipe_DATC}"></td>
													<td th:text="${table.p_oil_L}"></td>
													<td th:text="${table.p_oil_DATC}"></td>
													<td th:text="${table.liq_gas_pipe_L}"></td>
													<td th:text="${table.liq_gas_pipe_DATC}"></td>
													<td th:text="${table.liq_pet_pipe_L}"></td>
													<td th:text="${table.liq_pet_pipe_DATC}"></td>
													<td th:text="${table.chemical_pipe_L}"></td>
													<td th:text="${table.chemical_pipe_DATC}"></td>
													<td th:text="${table.other_pipe}"></td>
													<td th:text="${table.other_pipe_DATC}"></td>
													<td th:text="${table.r_time}"></td>
												</tr>
											</TBODY>
										</TABLE>
									</DIV>
								</DIV>
							</DIV>
						</DIV>
					</DIV>
					<SCRIPT th:inline="javascript">
					 $('.table').DataTable( {
				        "paging":   true,
				        "ordering": true,
				        "info":     false,
				        "language": {
			                 "lengthMenu": "每页 _MENU_ 条记录",
			                 "zeroRecords": "没有找到记录",
			                 "info": "第 _PAGE_ 页 ( 总共 _PAGES_ 页 )",
			                 "infoEmpty": "无记录",
			                 "infoFiltered": "(从 _MAX_ 条记录过滤)",
							 "sSearch":"页内搜索"
			             }
				    } ); 
					 	
						  /* <![CDATA[ */
					$(document).ready(function() {
						    $('#tab8_table').DataTable( {
						        "paging":   true,
						        "ordering": true,
						        "info":     false,
						        "language": {
					                 "lengthMenu": "每页 _MENU_ 条记录",
					                 "zeroRecords": "没有找到记录",
					                 "info": "第 _PAGE_ 页 ( 总共 _PAGES_ 页 )",
					                 "infoEmpty": "无记录",
					                 "infoFiltered": "(从 _MAX_ 条记录过滤)",
									 "sSearch":"页内搜索"
					             }
						    } );
						} );
					      /* ]]> */																
						</SCRIPT>
				</DIV>

			</DIV>
		</DIV>
			</DIV> 